﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Eleanor.DAL
{
    public class HottestPaintingDAL : DALBase
    {
        //保存
        public void Import(string paintingNumbers)
        {
            DefaultContext.StoredProcedure("HottestPaintingImport")
                .Parameter("PaintingNumbers", paintingNumbers)
                .Execute();
        }
        //读取

        public List<dynamic> SelectAll()
        {
            return DefaultContext.StoredProcedure("HottestPaintingSelectAll").QueryMany<dynamic>();
        }
    }
}
